package org.lhg.activiti.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.lhg.activiti.model.News;

import java.util.List;
import java.util.Map;

public interface NewsMapper extends BaseMapper<News> {


    List<News> news_list(Map<String, Object> map);

    Long new_list_total(Map<String, Object> map);

    int news_add(News news);

    News news_by_processInstanceId(String processInstanceId);

    int news_update(News news);

    News news_by_id(Integer news_id);
}
